package com.dailyblue.java.spring.cloud.example.sentinel.customer.handler;

import com.dailyblue.java.spring.cloud.example.commons.util.JsonResult;
import com.dailyblue.java.spring.cloud.example.commons.util.ResultTool;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
public class MyFallbackHandler {

    public static JsonResult fallback(String type,Throwable e){
        log.info("MyFallbackHandler");
        return ResultTool.success("MyFallbackHandler");
    }
}
